<?php

class TestController extends Zend_Controller_Action
{
	function init()
    {
        $this->registry = Zend_Registry::getInstance();
        $this->view = $this->registry['view'];
        $this->view->baseUrl = $this->_request->getBaseUrl();
    }
    
	/*
	 * 
	 */
	function indexAction() 
    {
    	echo "Q1111";
        //$this->view->bodyTitle = '<h1>Hello Worldaaaa!</h1>';
		//echo $this->view->render('test/index.phtml');
    }

	function addAction()
    {
    	echo "Q2222";
        //$this->view->bodyTitle = '<h1>Hello World11 hahahahha</h1>';
		//echo $this->view->render('default/index.phtml');
    }
    
    
	function noRouteAction()
	{
		echo  "Sorry, this page cannot be access.";
	}
}
?>